MindFusion.Wpf Pack Programmer's Guide
XmlSerializationContext.WriteColorArray Method
See Also
 





Writes an array of System.Windows.Media.Color objects as a System.Xml.XmlElement object with the the specified name and the specified subelements and the specified parent.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public XmlElement WriteColorArray (
    Color[] array,
    string elementName,
    string subElementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteColorArray( _
    array() As Color, _
    elementName As String, _
    subElementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

array

A list with System.Windows.Media.Color objects to write.

elementName

The name of the new element.

subElementName

The name of the sub element that holds the separate Color elements.

parentElement

The parent of the new element.

 Return Value

The newly created System.Xml.XmlElement.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Charting.Wpf Namespace